AuthenticationObject

public class AuthenticationObject implements Parcelable

An object returned when PingOne.authenticate() flow completes successfully.

Implements Parcelable so the developer will be able to pass it via intents.

Constructors

Link copied to clipboard
public void AuthenticationObject(@Nullable() @Nullable() String requestId, @Nullable() @Nullable() String authCode, @Nullable() @Nullable() String clientContext, @Nullable() @Nullable() String status, @Nullable() @Nullable() String needsApproval, @Nullable() @Nullable() JsonArray users, @NonNull() String region)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public String status
Link copied to clipboard
public JsonArray users

Functions

Link copied to clipboard
public void approve(Context context, String userId, PingOne.PingOneAuthenticationStatusCallback callback)
Approves authentication.
Link copied to clipboard
public void deny(Context context, String userId, PingOne.PingOneAuthenticationStatusCallback callback)
Denies authentication.
Link copied to clipboard
Gets client context - a custom String designed for passing any data as a String from server to end-user
Link copied to clipboard
Gets the needsApproval object property.
Link copied to clipboard
public String getStatus()
Gets the status String value returned from a server when user calls an authenticate API method.
Link copied to clipboard
public JsonArray getUsers()
Gets an array of the users paired to the device.